package io.framework.modules.pollutionsource.service;

import io.framework.common.page.PageData;
import io.framework.common.service.CrudService;
import io.framework.modules.pollutionsource.dto.PollutionGoordInfoDTO;
import io.framework.modules.pollutionsource.dto.TBasPollutionDTO;
import io.framework.modules.pollutionsource.entity.TBasPollutionEntity;

import java.util.List;
import java.util.Map;

/**
 * 污染源监控基本信息
 *
 * @author Gujq email
 * @since 1.0.0 2020-03-24
 */
public interface TBasPollutionService extends CrudService<TBasPollutionEntity, TBasPollutionDTO> {

    PageData<TBasPollutionDTO> pages(Map<String , Object> params);


    List<TBasPollutionDTO> lists(Map<String, Object> params);

    List<TBasPollutionDTO> getListCoordNotNull(Map<String, Object> params);

    List<PollutionGoordInfoDTO> getCoordList(Map<String, Object> params);

    /**
     *   污染源各区情况
     * @return
     */
    List<Map<String, Object>> getRegionCount();

    /**
     * 污染源类型
     * @return
     */
    List<Map<String , Object>> getWryRegionTypeCount();

    /**
     * 污染源类型
     * @return
     */
    List<Map<String,Object>>  getWryTypeCount();

}